<?php

$companystat = GetCompanyStat();

$bf = GetBestFighters();

$bb = GetBestBombers();

$cs = GetActiveWarCompanyes();

    if (is_array($cs) and count($cs)>0)
    	foreach ($cs as $company=>$data)
        {
        	if ($data[winnerid] == 1)
            {

            }
            else if ($data[winnerid] == 2)
            {

            }
            else
            {

            }
        }
    else
    {

    }
?>

<div align="center">
          <table width="100%"  border="0" cellspacing="0" cellpadding="0">
          	<tr>
            	<td>
	              <div align="center"><?php echo $SLANG[texts][$lang][main];?>
	              </div>
              	</td>
            </tr>

<tr>
	<td>
		<div align="center">&nbsp;</div>
	</td>
</tr>
<tr>
	<td>

<?php

    if (is_array($cs) and count($cs)>0)
    	foreach ($cs as $company=>$data)
        {
        	if ($data[winnerid] == 1)
            {
				echo "<div align=\"center\"><img src=\"<!--ImageURL-->won_marks_red.jpg\"></div>";
            }
            else if ($data[winnerid] == 2)
            {
				echo "<div align=\"center\"><img src=\"<!--ImageURL-->won_marks_blu.jpg\"></div>";
            }
            else
            {
				echo "<div align=\"center\"><img src=\"<!--ImageURL-->won_marks_new.jpg\"></div>";
            }

            break;
        }
    else
    {
				echo "<div align=\"center\"><img src=\"<!--ImageURL-->won_marks_new.jpg\"></div>";
    }

?>
<br><br>
	</td>
</tr>

            <tr>
              <td align="center" valign="top" class="text4"><?php echo $SLANG[$lang][kartaboevihdeistviy];?></td>
            </tr>
            <tr>
              <td height="20" align="center"><!--MisNum--></td>
            </tr>
            <tr>
              <td height="20" align="center"><div align="center" class="text2"><?php echo $SLANG[$lang][maptimeleft];?> <!--minNsec--></div></td>
            </tr>
            <tr>
              <td align="center" valign="top">&nbsp;</td>
            </tr>
            <tr>
              <td align="center" valign="top"><table width="740"  border="0" cellspacing="0" cellpadding="0">
                <tr>
                  <td width="70" align="right" valign="top">

                  </td>
                  <td width="600" align="center" valign="top"><img src="<!--ImageURL-->temp.jpg"></td>
                  <td width="70" align="left" valign="top">

                  </td>
                </tr>
              </table></td>
            </tr>
            <tr>
              <td align="center" valign="top">
              <table width="400" border="0" cellspacing="0" cellpadding="0">
                <tr>
                  <td width="200" align="right" valign="top"><img src="<!--ImageURL-->red_sevron.jpg" width="200" height="100"></td>
                  <td width="200" align="left" valign="top"><img src="<!--ImageURL-->blu_sevron.jpg" width="200" height="100"></td>
                </tr>
                <tr>
                  <td height="20"><div align="center" class="text2"><?php echo $SLANG[$lang][sovietunion];?></div></td>
                  <td><div align="center" class="text2"><?php echo $SLANG[$lang][germany];?></div></td>
                </tr>
                <tr>
                  <td height="20"><div align="center"><?php echo $SLANG[$lang][pilotsonserver];?></div></td>
                  <td><div align="center"><?php echo $SLANG[$lang][pilotsonserver];?></div></td>
                </tr>
                <tr valign=center>
                  <td height="40" class=table7><div align="center" class="text4"><!--Aonline--></div></td>
                  <td class=table7><div align="center" class="text4"><!--Bonline--></div></td>
                </tr>
                <tr valign=center>
                  <td height=10 align=center colspan=2>&nbsp;</td>
                </tr>
                <tr valign=center>
                  <td align=center><table width=60%><tr><td align=left><div class="text5"><!--AonlineSquads--></div></td></tr></table></td>
                  <td align=center><table width=60%><tr><td align=left><div class="text5"><!--BonlineSquads--></div></td></tr></table></td>
                </tr>
                <tr valign=top>
                  <td height="1" class=table7>&nbsp;</td>
                  <td height="1" class=table7>&nbsp;</td>
                </tr>
                <tr valign=center>
                  <td align=center colspan=2><table width=60%><tr><td align=center>
                  <a href="<!--SiteURL-->online/index.html"><?php echo $SLANG[$lang][sostavpolkov];?></a>
                </td></tr></table></td>
                </tr>
                <tr valign=top>
                  <td height="20">&nbsp;</td>
                  <td height="20">&nbsp;</td>
                </tr>
              </table></td>
            </tr>
            <tr>
              <td class="text2"><a href="<!--SiteURL-->lastmap/index.html"><?php echo $SLANG[$lang][lastmap][lastmapstat];?></a></td>
            </tr>
            <tr>
              <td class="text2">&nbsp;</td>
            </tr>

<table width=90% border=0>
	<tr>
    	<td>
	            <table border=0 cellpadding=0 cellspacing=0 align=center>
	                <tr>
	                    <td width=250 align=right valign=top>
	                            <table width="250"  border="0" cellpadding="0" cellspacing="0" class="table5">
	                                          <tr>
	                                            <td width="100%" height="20" class="table4">&nbsp;</td>
	                                            <td width="20" rowspan="2" align="left" valign="top"><img src="<!--ImageURL-->icon_reports_color.jpg" width="40" height="40"></td>
	                                          </tr>

                                              <tr class="back5">
	                                            <td  height="20"></td>
	                                            <td width="20" rowspan="2" align="left" valign="top"></td>
	                                          </tr>

                                       		<tr>
                                            	<td colspan=2>
                                                	<table border=0 cellpadding="0" cellspacing="0" width=100%>
	                                      <tr>
	                                        <td height="25" colspan=4 align=center class=tr2><?php echo $SLANG[$lang][bestfighters];?></td>
	                                      </tr>
	                                      <tr class=tr1>
	                                            <td height="25"><div align="center"><?php echo $SLANG[$lang][pilot];?></div></td>
	                                            <td height="25"><div align="center"><?php echo $SLANG[$lang][rank];?></div></td>
	                                            <td height="25"><div align="center"><?php echo $SLANG[$lang][sbil];?></div></td>
	                                            <td height="25"><div align="center"><?php echo $SLANG[$lang][storona];?></div></td>
	                                      </tr>
	                                      <tr>
	                                            <td height="25"><div align="left">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="<?php echo $bf[1][Href];?>"><?php echo $bf[1][name];?></a></div></td>
	                                            <td height="25"><div align="center"><?php echo $bf[1][Rank];?></div></td>
	                                            <td height="25"><div align="center"><?php echo $bf[1][ks];?></div></td>
	                                            <td height="25"><div align="center"><img src="<!--ImageURL--><?php echo $bf[1][Flag];?>"></div></td>
	                                      </tr>
	                                      <tr>
	                                            <td height="25"><div align="left">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="<?php echo $bf[2][Href];?>"><?php echo $bf[2][name];?></a></div></td>
	                                            <td height="25"><div align="center"><?php echo $bf[2][Rank];?></div></td>
	                                            <td height="25"><div align="center"><?php echo $bf[2][ks];?></div></td>
	                                            <td height="25"><div align="center"><img src="<!--ImageURL--><?php echo $bf[2][Flag];?>"></div></td>
	                                      </tr>
	                                      <tr>
	                                            <td height="25"><div align="left">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="<?php echo $bf[3][Href];?>"><?php echo $bf[3][name];?></a></div></td>
	                                            <td height="25"><div align="center"><?php echo $bf[3][Rank];?></div></td>
	                                            <td height="25"><div align="center"><?php echo $bf[3][ks];?></div></td>
	                                            <td height="25"><div align="center"><img src="<!--ImageURL--><?php echo $bf[3][Flag];?>"></div></td>
	                                      </tr>
	                                      <tr>
	                                            <td height="25"><div align="left">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="<?php echo $bf[4][Href];?>"><?php echo $bf[4][name];?></a></div></td>
	                                            <td height="25"><div align="center"><?php echo $bf[4][Rank];?></div></td>
	                                            <td height="25"><div align="center"><?php echo $bf[4][ks];?></div></td>
	                                            <td height="25"><div align="center"><img src="<!--ImageURL--><?php echo $bf[4][Flag];?>"></div></td>
	                                      </tr>
	                                      <tr>
	                                            <td height="25"><div align="left">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="<?php echo $bf[5][Href];?>"><?php echo $bf[5][name];?></a></div></td>
	                                            <td height="25"><div align="center"><?php echo $bf[5][Rank];?></div></td>
	                                            <td height="25"><div align="center"><?php echo $bf[5][ks];?></div></td>
	                                            <td height="25"><div align="center"><img src="<!--ImageURL--><?php echo $bf[5][Flag];?>"></div></td>
	                                      </tr>
	                                      <tr>
	                                        <td height="25" align=center colspan=4>&nbsp;</td>
	                                      </tr>
	                                      <tr class=tr2>
	                                        <td height="25" align=center colspan=4><?php echo $SLANG[$lang][bestbombers];?></td>
	                                      </tr>
	                                      <tr class=tr1>
	                                            <td height="25"><div align="center"><?php echo $SLANG[$lang][pilot];?></div></td>
	                                            <td height="25"><div align="center"><?php echo $SLANG[$lang][rank];?></div></td>
	                                            <td height="25"><div align="center"><?php echo $SLANG[$lang][action][destroyssm];?></div></td>
	                                            <td height="25"><div align="center"><?php echo $SLANG[$lang][storona];?></div></td>
	                                      </tr>
	                                      <tr>
	                                            <td height="25"><div align="left">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="<?php echo $bb[1][Href];?>"><?php echo $bb[1][name];?></a></div></td>
	                                            <td height="25"><div align="center"><?php echo $bb[1][Rank];?></div></td>
	                                            <td height="25"><div align="center"><?php echo $bb[1][ks];?></div></td>
	                                            <td height="25"><div align="center"><img src="<!--ImageURL--><?php echo $bb[1][Flag];?>"></div></td>
	                                      </tr>
	                                      <tr>
	                                            <td height="25"><div align="left">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="<?php echo $bb[2][Href];?>"><?php echo $bb[2][name];?></a></div></td>
	                                            <td height="25"><div align="center"><?php echo $bb[2][Rank];?></div></td>
	                                            <td height="25"><div align="center"><?php echo $bb[2][ks];?></div></td>
	                                            <td height="25"><div align="center"><img src="<!--ImageURL--><?php echo $bb[2][Flag];?>"></div></td>
	                                      </tr>
	                                      <tr>
	                                            <td height="25"><div align="left">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="<?php echo $bb[3][Href];?>"><?php echo $bb[3][name];?></a></div></td>
	                                            <td height="25"><div align="center"><?php echo $bb[3][Rank];?></div></td>
	                                            <td height="25"><div align="center"><?php echo $bb[3][ks];?></div></td>
	                                            <td height="25"><div align="center"><img src="<!--ImageURL--><?php echo $bb[3][Flag];?>"></div></td>
	                                      </tr>
	                                      <tr>
	                                            <td height="25"><div align="left">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="<?php echo $bb[4][Href];?>"><?php echo $bb[4][name];?></a></div></td>
	                                            <td height="25"><div align="center"><?php echo $bb[4][Rank];?></div></td>
	                                            <td height="25"><div align="center"><?php echo $bb[4][ks];?></div></td>
	                                            <td height="25"><div align="center"><img src="<!--ImageURL--><?php echo $bb[4][Flag];?>"></div></td>
	                                      </tr>
	                                      <tr>
	                                            <td height="25"><div align="left">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="<?php echo $bb[5][Href];?>"><?php echo $bb[5][name];?></a></div></td>
	                                            <td height="25"><div align="center"><?php echo $bb[5][Rank];?></div></td>
	                                            <td height="25"><div align="center"><?php echo $bb[5][ks];?></div></td>
	                                            <td height="25"><div align="center"><img src="<!--ImageURL--><?php echo $bb[5][Flag];?>"></div></td>
	                                      </tr>
	                                      <tr>
	                                        <td height="25" align=left></td>
	                                      </tr>

	                                            </table></td>
	                                            </tr>
	                                        </table>
        </td>
        <td width=20>&nbsp;</td>
    	<td valign=top>

	            <table border=0 cellpadding=0 cellspacing=0 align=center class="table5">
	                <tr>
	                    <td width=120 align=right valign=top>
	                            <table width="130"  border="0" cellpadding="0" cellspacing="0">
	                                          <tr>
	                                            <td width="100%" height="20" class="table4">&nbsp;</td>
	                                            <td width="20" rowspan="2" align="left" valign="top"><img src="<!--ImageURL-->icon_reports_color.jpg" width="40" height="40"></td>
	                                          </tr>

                                              <tr class="back5">
	                                            <td  height="20"></td>
	                                            <td width="20" rowspan="2" align="left" valign="top"></td>
	                                          </tr>

	                                          <tr align="center" valign="top">
	                                            <td height="20" colspan="2">
	                                            <table width="100%"  border="0" cellspacing="0" cellpadding="0">
	                                      <tr>
	                                        <td height="25" class=tr2 align="left">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<?php echo $SLANG[$lang][poteri];?></td>
	                                      </tr>
	                                      <tr class=tr1>
	                                        <td height="25" align=left>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<b><?php echo $SLANG[$lang][samoletov];?></b></td>
	                                      </tr>
	                                      <tr>
	                                        <td height="25" align=left>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<?php echo $SLANG[$lang][istribiteley];?></td>
	                                      </tr>
	                                      <tr>
	                                        <td height="25" align=left>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<?php echo $SLANG[$lang][bombardirivshikov];?></td>
	                                      </tr>
	                                      <tr class=tr1>
	                                        <td height="25" align=left>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<b><?php echo $SLANG[$lang][poteranotehniki];?></b></td>
	                                      </tr>
	                                      <tr>
	                                        <td height="25" align=left>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<?php echo $SLANG[$lang][samoletovnazemle];?></td>
	                                      </tr>
	                                      <tr>
	                                        <td height="25" align=left>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<?php echo $SLANG[$lang][orudiyaaa];?></td>
	                                      </tr>
	                                      <tr>
	                                        <td height="25" align=left>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<?php echo $SLANG[$lang][orudiy];?></td>
	                                      </tr>
	                                      <tr>
	                                        <td height="25" align=left>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<?php echo $SLANG[$lang][tankov];?></td>
	                                      </tr>
	                                      <tr>
	                                        <td height="25" align=left>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<?php echo $SLANG[$lang][avtomobiley];?></td>
	                                      </tr>
	                                      <tr>
	                                        <td height="25" align=left>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<?php echo $SLANG[$lang][wagonov];?></td>
	                                      </tr>
	                                      <tr>
	                                        <td height="25" align=left>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<?php echo $SLANG[$lang][korabley];?></td>
	                                      </tr>
	                                      <tr>
	                                        <td height="25" align=left>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<?php echo $SLANG[$lang][fuel];?></td>
	                                      </tr>
	                                      <tr>
	                                        <td height="25" align=left>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<?php echo $SLANG[$lang][ammo];?></td>
	                                      </tr>
	                                      <tr>
	                                        <td height="25" align=left>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<?php echo $SLANG[$lang][rkit];?></td>
	                                      </tr>
	                                      <tr>
	                                        <td height="25">&nbsp;</td>
	                                      </tr>

	                                            </table></td>
	                                            </tr>
	                                        </table>

	                    </td>

	                    <td width=100 align=right valign=top>
	                            <table width="100"  border="0" cellpadding="0" cellspacing="0">
	                                          <tr>
	                                            <td width="100%" height="20" class="table4">&nbsp;</td>
	                                            <td width="20" rowspan="2" align="left" valign="top"><img src="<!--ImageURL-->icon_red_color.jpg" width="40" height="40"></td>
	                                          </tr>

                                              <tr class="back5">
	                                            <td  height="20"></td>
	                                            <td width="20" rowspan="2" align="left" valign="top"></td>
	                                          </tr>

	                                          <tr align="center" valign="top">
	                                            <td height="20" colspan="2">
	                                            <table width="100%"  border="0" cellspacing="0" cellpadding="0">

	                                              <tr class=tr2>
	                                                <td height="25"><?php echo $SLANG[$lang][sovietunion];?></td>
	                                                </tr>
	                                      <tr class=tr1>
	                                        <td height="25"><?php echo $companystat[blue][air]+$companystat[blue][bom]; ?></td>
	                                      </tr>
	                                      <tr>
	                                        <td height="25"><?php echo $companystat[blue][air]; ?></td>
	                                      </tr>
	                                      <tr>
	                                        <td height="25"><?php echo $companystat[blue][bom];?></td>
	                                      </tr>
	                                      <tr class=tr1>
	                                        <td height="25"><?php echo $companystat[blue][tank]+$companystat[blue][art]+$companystat[blue][car]+$companystat[blue][aaa]+$companystat[blue][wag]+$companystat[blue][sair];?></td>
	                                      </tr>
	                                      <tr>
	                                        <td height="25"><?php echo $companystat[blue][sair];?></td>
	                                      </tr>
	                                      <tr>
	                                        <td height="25"><?php echo $companystat[blue][aaa];?></td>
	                                      </tr>
	                                      <tr>
	                                        <td height="25"><?php echo $companystat[blue][art];?></td>
	                                      </tr>
	                                      <tr>
	                                        <td height="25"><?php echo $companystat[blue][tank];?></td>
	                                      </tr>
	                                      <tr>
	                                        <td height="25"><?php echo $companystat[blue][car];?></td>
	                                      </tr>
	                                      <tr>
	                                        <td height="25"><?php echo $companystat[blue][wag];?></td>
	                                      </tr>
	                                      <tr>
	                                        <td height="25"><?php echo $companystat[blue][ship];?></td>
	                                      </tr>
	                                      <tr>
	                                        <td height="25"><?php echo $companystat[blue][dfuel];?></td>
	                                      </tr>
	                                      <tr>
	                                        <td height="25"><?php echo $companystat[blue][dammo];?></td>
	                                      </tr>
	                                      <tr>
	                                        <td height="25"><?php echo $companystat[blue][drepair];?></td>
	                                      </tr>
	                                              <tr>
	                                                <td height="25">&nbsp;</td>
	                                                </tr>


	                             </table>
	                            </td>

	                            </tr>
	                        </table>

	                    </tD>

	                    <td width=100 align=right valign=top>
	                            <table width="100"  border="0" cellpadding="0" cellspacing="0">
	                                          <tr>
	                                            <td width="100%" height="20" class="table4">&nbsp;</td>
	                                            <td width="20" rowspan="2" align="left" valign="top"><img src="<!--ImageURL-->icon_blu_color.jpg" width="40" height="40"></td>
	                                          </tr>

                                              <tr class="back5">
	                                            <td  height="20"></td>
	                                            <td width="20" rowspan="2" align="left" valign="top"></td>
	                                          </tr>
	                                          <tr align="center" valign="top">
	                                            <td height="20" colspan="2">
	                                            <table width="100%"  border="0" cellspacing="0" cellpadding="0">

	                                                <td height="25" class=tr2><?php echo $SLANG[$lang][germany];?></td>
	                                                </tr>

	                           <tr class=tr1>
	                                        <td height="25"><?php echo $companystat[red][air]+$companystat[red][bom]; ?></td>
	                                      </tr>
	                                      <tr>
	                                        <td height="25"><?php echo $companystat[red][air]; ?></td>
	                                      </tr>
	                                      <tr>
	                                        <td height="25"><?php echo $companystat[red][bom];?></td>
	                                      </tr>
	                                      <tr class=tr1>
	                                        <td height="25"><?php echo $companystat[red][tank]+$companystat[red][art]+$companystat[red][car]+$companystat[red][aaa]+$companystat[red][wag]+$companystat[red][sair];?></td>
	                                      </tr>
	                                      <tr>
	                                        <td height="25"><?php echo $companystat[red][sair];?></td>
	                                      </tr>
	                                      <tr>
	                                        <td height="25"><?php echo $companystat[red][aaa];?></td>
	                                      </tr>
	                                      <tr>
	                                        <td height="25"><?php echo $companystat[red][art];?></td>
	                                      </tr>
	                                      <tr>
	                                        <td height="25"><?php echo $companystat[red][tank];?></td>
	                                      </tr>
	                                      <tr>
	                                        <td height="25"><?php echo $companystat[red][car];?></td>
	                                      </tr>
	                                      <tr>
	                                        <td height="25"><?php echo $companystat[red][wag];?></td>
	                                      </tr>
	                                      <tr>
	                                        <td height="25"><?php echo $companystat[red][ship];?></td>
	                                      </tr>
	                                      <tr>
	                                        <td height="25"><?php echo $companystat[red][dfuel];?></td>
	                                      </tr>
	                                      <tr>
	                                        <td height="25"><?php echo $companystat[red][dammo];?></td>
	                                      </tr>
	                                      <tr>
	                                        <td height="25"><?php echo $companystat[red][drepair];?></td>
	                                      </tr>
	                                              <tr>
	                                                <td height="25">&nbsp;</td>
	                                                </tr>

	                             </table>
	                            </td>

	                            </tr>
	                        </table>

	                    </tD>

	                </tr>

	            </table>
        	</td>
        </tr>
    </table>
                            <br><br>

	</td>
    </tr>

	<tr>
    	<td align=center>
	            <table width="400"  border="0" cellpadding="0" cellspacing="0" class="table5">
	                          <tr>
	                            <td width="100%" height="20" class="table4">&nbsp;</td>
	                            <td width="20" rowspan="2" align="left" valign="top"><img src="<!--ImageURL-->icon_reports_color.jpg" width="40" height="40"></td>
	                          </tr>
                                              <tr class="back5">
	                                            <td  height="20"></td>
	                                            <td width="20" rowspan="2" align="left" valign="top"></td>
	                                          </tr>

	                          <tr align="center" valign="top">
	                            <td height="20" colspan="2">
                                <table width="100%"  border="0" cellspacing="0" cellpadding="0">
	                              <tr>
	                                <td height="20"><div align="center"><?php echo $SLANG[sqpanel][$lang][company];?></div></td>
	                                <td><div align="center"><?php echo $SLANG[$lang][pobeditel];?></div></td>
	                                <td><div align="center"><?php echo $SLANG[$lang][pobeda];?></div></td>
	                                </tr>
	                              <tr>
	                                <td height="10" colspan="8">&nbsp;</td>
	                                </tr>

<?php

	$cs = GetActiveWarCompanyes();

    $i=1;
    if (is_array($cs) and count($cs)>0)
    foreach ($cs as $company=>$data) {

    	$i++;
        $j = $i % 2;
        $j++;
        $winner = $cs[$company][winner];
        $wonhow = $cs[$company]["WON_HOW"];



		?>
	                              <tr class="tr<?php echo $j;?>">
	                                <td height="20">
	                                  <div align="center"><?php echo $cs[$company][data][name];?></div>
	                                </td>

	                                <td height="20"><div align="center"><?php echo $cs[$company][winner];?></div></td>

	                                <td height="20"><div align="center">&nbsp;<?php echo $SLANG[$lang][tippobedi][intval($wonhow)];?></div></td>
	                              </tr>

        <?php

    }

?>

	                            </table></td>
	                            </tr>
	                        </table>

        </td>
    </tr>

    <tr>
    	<td align=center><a href="<!--SiteURL-->wars/index.html"><?php echo $SLANG[$lang][istproshvoin]; ?></a></td>
    </tr>




            <tr>
              <td></td>
            </tr>
          </table>
        </div>